package m_abstract;

/**
 * @author Cheng-02
 * @version V1.0
 * @Package m_abstract
 * @date 2024/3/30 下午12:57
 */
public abstract class Employee {
   private int id;
    private   String name;
    public Employee(){

    }

    public Employee(String name, int id) {
        this.name = name;
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }
    public  abstract void work();
}
